package com.dc.wifi.main.repository

import com.dc.netlib.base.BaseRepository
import com.dc.netlib.bean.UserInfoBean
import com.dc.netlib.bean.request.LoginRequestBean
import com.dc.netlib.https.ApiResponse

class LoginRepository:BaseRepository() {

    suspend fun login(username: String, password: String): ApiResponse<UserInfoBean?> {
        return apiCall {
            apiService.login(username,password) }
    }
}